[% USE DBI('dbi:mysql:mysql', 'katy', 'szkdzz') -%]
<table border="1" > 
<tr><td>host</td>  <td>user</td><td>         Password   </td><td>Select_priv</td></tr> 
  [% FOREACH product = DBI.query('select host, user, Password, Select_priv  from user') -%] 	
 <tr> <td>[% product.host | format("%s\t") %]</td><td> [% product.user | format ("%s\t")	  -%]</td><td>
  
  [% product.Password | format('%s') %] </td><td>[% product.Select_priv | format('%s') %]</td><tr>

[% END -%]

  </table>

<html>
 <head>
  <title>Destruction of [% planet %] is Imminent!</title>
 </head>
 
 <body>
  <p>
    People of [% planet %], your attention please.
  </p>
  <p>
    This is [% captain %] of the 
    Galactic Hyperspace Planning Council.  
  </p>
  <p>
    As you will no doubt be aware, the plans 
    for development of the outlying regions
    of the Galaxy require the building of a 
    hyperspatial express route through your 
    star system, and regrettably your planet
    is one of those scheduled for destruction.
  </p>
  <p>
    The process will take slightly less than
    [% time %].
	The sub funcation is [% png %].
  </p>
 </body>
</html>
